package cn.stylefeng.guns.modular.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.entity.BannerImg;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.servlet.ModelAndView;

/**
 * <p>
 * 广告图片表 服务类
 * </p>
 *
 * @author XiangTianGe
 * @since 2020-04-15
 */
public interface IBannerImgService extends IService<BannerImg> {

    LayuiPageInfo getList(Integer type, Page page);

    ModelAndView edit(Long id);

    ResponseData addBanner(BannerImg bannerImg);

    ResponseData editBanner(BannerImg bannerImg);

    ResponseData delete(Long id);

    ResponseData queryById(Long id);
}
